package com.changhongit.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.changhongit.dao.MemberInfoDao;
import com.changhongit.entity.MemberInfo;
import com.changhongit.service.MemberInfoService;

@Transactional
@Service("memberinfoService")
public class MemberInfoServiceImpl implements MemberInfoService {
	@Autowired
	private MemberInfoDao memberInfoDao;

	public List<MemberInfo> findAll() {
		return memberInfoDao.findAll();
	}

	@Override
	public MemberInfo getById(String id) {
		return memberInfoDao.getById(id);
	}

}
